package com.gb.models.user.dao;

import com.gb.models.user.model.SysUserEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * @author lgoodbook
 * @email lgbooook@gmail.com
 * @date 2017-08-14 11:18:18
 */
public interface SysUserDao {//extends JpaRepository<SysUserDao, Long> {

    SysUserEntity queryUserByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

    int updateUserById(SysUserEntity userEntity);

    int save(SysUserEntity entity);

    List<SysUserEntity> queryUserPageList(SysUserEntity userEntity);
	
}
